/**
 * 
 */
package vn.smartware.co.framework.bean;

import java.io.Serializable;

/**
 * LoginDTO
 * @author thuctt
 */
public class LoginDTO implements Serializable {
	
	/**
	 * serialVersionUID
	 */
	private static final long serialVersionUID = 2046571288255529859L;

	private static LoginDTO uniqInstance = new LoginDTO();
		
	/**
	 * private constructor.
	 */
	private LoginDTO() {
	}
	
	/**
	 * get instance
	 * getInstance: 
	 * @return LoginDTO
	 */
	public static LoginDTO getInstance() {
		if (null==uniqInstance){
			uniqInstance = new LoginDTO();
		}
		return uniqInstance;
	}
	
	private int loginNo;
	
    /**
     * userId
     */
	private int userId = -1;
	
	/**
	 * machineName
	 */
	private String machineName;
	
	/**
	 * ipAddress
	 */
	private String ipAddress;
	
	/**
	 * username
	 */
	private String loginName;
	
	/**
	 * password
	 */
	private String loginPass;
	
	/**
	 * name
	 */
	private String name;
	
	/**
	 * initPrgId
	 */
	private String initPrgId;
	
	/**
	 * OS description
	 */
	private String OSDescription;
	
	/**
	 * @return the ipAddress
	 */
	public String getIpAddress() {
		return this.ipAddress;
	}

	/**
	 * @param ipAddress the ipAddress to set
	 */
	public void setIpAddress(String ipAddress) {
		this.ipAddress = ipAddress;
	}

	/**
	 * @return the machineName
	 */
	public String getMachineName() {
		return this.machineName;
	}

	/**
	 * @param machineName the machineName to set
	 */
	public void setMachineName(String machineName) {
		this.machineName = machineName;
	}

	/**
	 * @return the userId
	 */
	public int getUserId() {
		return this.userId;
	}

	/**
	 * @param userId the userId to set
	 */
	public void setUserId(int userId) {
		this.userId = userId;
	}

	/**
	 * @return the initPrgId
	 */
	public String getInitPrgId() {
		return initPrgId;
	}

	/**
	 * @param initPrgId the initPrgId to set
	 */
	public void setInitPrgId(String initPrgId) {
		this.initPrgId = initPrgId;
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @return the loginName
	 */
	public String getLoginName() {
		return loginName;
	}

	/**
	 * @param loginName the loginName to set
	 */
	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}

	/**
	 * @return the loginPass
	 */
	public String getLoginPass() {
		return loginPass;
	}

	/**
	 * @param loginPass the loginPass to set
	 */
	public void setLoginPass(String loginPass) {
		this.loginPass = loginPass;
	}

	/**
	 * @return the oSDescription
	 */
	public String getOSDescription() {
		return OSDescription;
	}

	/**
	 * @param description the oSDescription to set
	 */
	public void setOSDescription(String description) {
		OSDescription = description;
	}

	/**
	 * @return the loginNo
	 */
	public int getLoginNo() {
		return loginNo;
	}

	/**
	 * @param loginNo the loginNo to set
	 */
	public void setLoginNo(int loginNo) {
		this.loginNo = loginNo;
	}
	
    
}
